package com.easy.mapper;

import com.easy.bean.User_activity;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface User_activityDao {
    int add(@Param("param") User_activity user_activity);
    int del(@Param("id") Integer id);
    int edit(@Param("param") User_activity user_activity);
    User_activity one(@Param("id") Integer id);
    List<User_activity> all(@Param("param") User_activity user_activity);
    int pageCount(@Param("param") User_activity user_activity);
    List<User_activity> page(@Param("page") Page page, @Param("param") User_activity user_activity);
    int pageCountWithDetails(@Param("param") User_activity user_activity);
    List<User_activity> pageWithDetails(@Param("page") Page page, @Param("param") User_activity user_activity);
}
